﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using MapEditor.Tiles;

namespace MapEditor.Tools
{
    class Fill : Tool
    {
        public override void Use(TileLayer layer, int tileX, int tileY, TileType tileType, int type, bool showGrid)
        {
            

          
                    //PaintArea(layer, x, y, selectorRect, tileType, type);
        }

        public override void DrawRegularTilePreview(SpriteBatch spriteBatch, Texture2D tilesetTexture, Rectangle previewRect)
        {
            // The fill tool has no preview
        }

        public override void DrawCustomTilePreview(SpriteBatch spriteBatch, Rectangle previewRect, TileType tileType)
        {
            // The fill tool has no preview
        }

        public override Rectangle PreviewRect
        {
            get
            {
                return Rectangle.Empty;
            }
        }

        public override Rectangle PreviewRectNoGrid
        {
            get
            {
                return Rectangle.Empty;
            }
        }

    }
}
